
#ifndef __UNITSVISITOR_H__
#define __UNITSVISITOR_H__

#include <sstream>
#include <AbstractUnit.h>

using std::ostream;

struct UnitsVisitor
{
	UnitsVisitor( ostream& os, float amountInBaseUnit );
	void visit(const Unit* pUnit )  ;

private:
	ostream& os_m; 
	float remainingAmount_m;

};


#endif

